package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.time.LocalDate;

/**
 * @Author: WangHongKun
 * @Date: 2022/9/22 16:58
 * @Email: 2028911483@qq.com
 * @Phone: 18683977706
 */


public interface ReportService {
    TurnoverReportVO getTurnoverStatistics(LocalDate begin , LocalDate end);

    UserReportVO getUserStatistics(LocalDate begin , LocalDate end);

    OrderReportVO getOrdersStatistics(LocalDate begin , LocalDate end);

    SalesTop10ReportVO getSalesTop10(LocalDate begin , LocalDate end);

    void  exportBusinessData(HttpServletResponse response) throws IOException;
}
